var read = require('hy5b/backend/path-read');
var t = require('hy5b/t');

var write = require('hy5b/backend/write');

require('colors')

read('../godie/conf', function(err, str, file) {
  var a = [];
  t.matchAll(str, /"([a-z_]+)"/, function(op) {
    if (op.match[1] != 'param')
      a.push(op.match[1]);
  });
  write(file, true).write(JSON.stringify({
    prop: a
  }));

})